package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.util.Date;

public class OrderProblemMessage implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 发送人
     *
     * @mbg.generated
     */
    private Integer commitUser;

    /**
     * 接收人
     *
     * @mbg.generated
     */
    private Integer receiveUser;

    /**
     * 发送内容
     *
     * @mbg.generated
     */
    private String content;

    /**
     * 是否已读 0-未读 1-已读
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date commitTime;

    /**
     * 订单问题记录ID
     *
     * @mbg.generated
     */
    private Integer problemId;

    /**
     * 问题记录状态 1-进行中 2-已完结
     *
     * @mbg.generated
     */
    private Integer problemStatus;

    /**
     * 子订单生成规则：对外
     *
     * @mbg.generated
     */
    private String childOrderNo;

    /**
     * 供应商商品ID
     */
    private Integer supplyProductId;

    /**
     * 问题类型
     */
    private Integer problemType;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommitUser() {
        return commitUser;
    }

    public void setCommitUser(Integer commitUser) {
        this.commitUser = commitUser;
    }

    public Integer getReceiveUser() {
        return receiveUser;
    }

    public void setReceiveUser(Integer receiveUser) {
        this.receiveUser = receiveUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCommitTime() {
        return commitTime;
    }

    public void setCommitTime(Date commitTime) {
        this.commitTime = commitTime;
    }

    public Integer getProblemId() {
        return problemId;
    }

    public void setProblemId(Integer problemId) {
        this.problemId = problemId;
    }

    public Integer getProblemStatus() {
        return problemStatus;
    }

    public void setProblemStatus(Integer problemStatus) {
        this.problemStatus = problemStatus;
    }

    public String getChildOrderNo() {
        return childOrderNo;
    }

    public void setChildOrderNo(String childOrderNo) {
        this.childOrderNo = childOrderNo;
    }

    public Integer getSupplyProductId() {
        return supplyProductId;
    }

    public void setSupplyProductId(Integer supplyProductId) {
        this.supplyProductId = supplyProductId;
    }

    public Integer getProblemType() {
        return problemType;
    }

    public void setProblemType(Integer problemType) {
        this.problemType = problemType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", commitUser=").append(commitUser);
        sb.append(", receiveUser=").append(receiveUser);
        sb.append(", content=").append(content);
        sb.append(", status=").append(status);
        sb.append(", commitTime=").append(commitTime);
        sb.append(", problemId=").append(problemId);
        sb.append(", problemStatus=").append(problemStatus);
        sb.append(", childOrderNo=").append(childOrderNo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}